import {RequestServerClass} from '../../util/request';
import qs from 'qs';

export class ChartServer {
    public rSerivce: any;

    constructor(opt: any, axiosFilterFn?: any) {
        this.rSerivce = new RequestServerClass(opt);
    }

    public getConfig(url: string,opts?: any) {
        return this.rSerivce.serverObj.get(url + '?' + qs.stringify(opts));
    }
}
